﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KetNoi;
using ThucThe;
using System.Data;

namespace DieuKhien
{
    public class HopDong_dieukhien
    {
        HopDong_ketnoi kn = new HopDong_ketnoi();
        public DataTable danhSachHopDong()
        {
            return kn.danhsachhopdong();
        }
        public DataTable timHopDong(KhachHang_thucthe kh)
        {
            return kn.Tim_HopDomg(kh);
        }
        public int themHopDong(HopDong_thucthe hd)
        {
            return kn.Them_HopDong(hd);
        }
        public int suaHopDong(HopDong_thucthe hd)
        {
            return kn.Sua_HopDong(hd);
        }
        public int xoaHopdong(HopDong_thucthe hd)
        {
            return kn.Xoa_HopDong(hd);
        }
    }
}
